'insert and change:
'(registry folder) to where the folder of the line e.g. HKEY_LOCAL_MACHINE\SOFTWARE\pbd
'(name of code) to name of line in registry e.g. reg 

        Dim reg
        reg = My.Computer.Registry.GetValue _
        ("(registry folder)", "(name of code)", "")
        'code to what you want to happen here